import { IConditionData } from "../../condition/const/IConditionData";
import { IEffectData } from "../../effect/const/IEffectData";
import { TriggerType } from "./TriggerType";

/**
 * 触发器数据
 */
export interface ITriggerData {
    /**触发类型(是否考虑支持多个触发类型) */
    triggerType: TriggerType;
    /**条件数据 */
    conditionDatas: IConditionData[];
    /**触发效果数据 */
    effects: IEffectData[];
    /**最大触发次数(-1无限.-2和当前目标数量一致) */
    activationCount?: number;
}